home *** CD-ROM | disk | FTP | other *** search
/ Nebula 2 / Nebula Two.iso / SourceCode / Tutorial / Cookbook / 42.DocApp / Document.h < prev    next >
Text File  |  1995-06-12  |  373b  |  24 lines

  1.  
  2. /* Generated by Interface Builder */
  3.  
  4. #import <objc/Object.h>
  5. #import <streams/streams.h>
  6.  
  7. @interface Document:Object
  8. {
  9.     id    document;
  10. }
  11.  
  12. + new;
  13. + newFromFile:(const char *)fileName;
  14.  
  15. - save:sender;
  16. - saveAs:sender;
  17. - setDocument:anObject;
  18. - saveDocument:(const char *)fileName;
  19. - setName:(const char *)title;
  20. -(const char *)name;
  21. - text:text isEmpty:(BOOL)empty;
  22.  
  23. @end
  24.